/**
 * created by 34786
 */
import Layout from "@/views/layout/Layout";
const demoPageRouter = [
  {
    path: "/demo",
    component: Layout,
    redirect: "/demo/eleTable",
    name: "demo",
    meta: {
      title: "example",
      icon: "el-icon-menu"
    },
    children: [
      {
        path: "eleTable",
        name: "eleTable",
        component: () => import("../children/eleTable.vue"),
        meta: {
          title: "eleTable",
          icon: "el-icon-menu",
          noCache: false
        }
      },
      {
        path: "editTable",
        name: "editTable",
        component: () => import("../children/editTable.vue"),
        meta: {
          title: "封装可编辑表格",
          icon: "el-icon-menu",
          noCache: true
        }
      },
      // {
      //   path: "vueEasyTable",
      //   name: "vueEasyTable",
      //   component: () => import("../children/vueEasyTable.vue"),
      //   meta: {
      //     title: "vueEasyTable",
      //     icon: "el-icon-menu",
      //     noCache: false
      //   }
      // },
      // {
      //   path: "drag",
      //   name: "drag",
      //   component: () => import("../children/drag.vue"),
      //   meta: {
      //     title: "drag",
      //     icon: "el-icon-menu",
      //     noCache: false
      //   }
      // },
      // {
      //   path: "dragDialog",
      //   name: "dragDialog",
      //   component: () => import("../children/dragDialog.vue"),
      //   meta: {
      //     title: "dragDialog",
      //     icon: "el-icon-menu",
      //     noCache: false
      //   }
      // },
      {
        path: "jsTreeForm",
        name: "jsTreeForm",
        component: () => import("../children/jsTreeForm.vue"),
        meta: {
          title: "jsTreeForm",
          icon: "el-icon-menu",
          noCache: false
        }
      },
      {
        path: "roleAuth",
        name: "roleAuth",
        component: () => import("../children/roleAuth.vue"),
        meta: {
          title: "roleAuth",
          icon: "el-icon-menu",
          noCache: false
        }
      },
      {
        path: "commonForm",
        name: "commonForm",
        component: () => import("../children/commonForm.vue"),
        meta: {
          title: "commonForm",
          icon: "el-icon-menu",
          noCache: false
        }
      },
      {
        path: "commonStyle",
        name: "commonStyle",
        component: () => import("../children/commonStyle.vue"),
        meta: {
          title: "commonStyle",
          icon: "el-icon-menu",
          noCache: false
        }
      },
      {
        path: "commonLayout",
        name: "commonLayout",
        component: () => import("../children/commonLayout.vue"),
        meta: {
          title: "commonLayout",
          icon: "el-icon-menu",
          noCache: false
        }
      }
    ]
  }
];

export default demoPageRouter;
